<div class="contentArea">
    <div class="Item hr">
        <div class="current">添加章节</div>
    </div>
    <form>
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
            <tr>
                <th width="80">章节名称：</th>
                <td><input type="text" class="input" size="68" placeholder="请输入标题" name="data[title]"/></td>
            </tr>

            <tr>
                <th width="80">章节内容：</th>
                <td><textarea class="jq_watermark" rows = "35" cols="68" name="data[content]" placeholder="输入章节内容"></textarea></td>
            </tr>

            <tr>
                <th width="80">总字数：</th>
                <td><input type="text" class="input" size="68"  placeholder="请输入字数" name="data[words_number]"/></td>
            </tr>

            <input type="hidden" name="data[novel_id]" value="{$novel_id}" />
        </table>
    </form>
    <div class="commonBtnArea">
        <button class="btn submit">提交</button>
    </div>
</div>

<script type="text/javascript">
    $(".submit").click(function(){
        commonAjaxSubmit("{:U('Novel/chapter_insert')}");
    });
</script>

